package com.timoon.sample.utils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.timoon.page.Page1;
import com.timoon.sample.page.HomePage;
import com.timoon.sample.page.NewsPage;
import com.timoon.sample.page.PassagePage;
import com.timoon.webcomponent.utility.navs.NavParameter;
import com.timoon.webcomponent.utility.navs.nav1.Nav1Parameter;

/**
 *<p></p>
 *<p></p>
 *<p>Copyright:Copyright(c)2013.4.1</p>
 *<p>Company:timoon</p>
 *@author 付乐天
 *@version 1.0 */
public class SystemConfig {
	
	/***************************************全局设置***********************************************/
	public static Integer STATUS_DELETED=0;
	

	/**
	 * 获取主菜单的参数
	 * @return
	 */	
	public static List<NavParameter> getNavParameters(){
		List<NavParameter> navs=new ArrayList<>();
		
		navs.add(new NavParameter("fewkugneia485", "首页", HomePage.class));
		
		navs.add(new NavParameter("fewkug44few85", "详情", PassagePage.class));
		
		navs.add(new NavParameter("fef54gew44few85", "新闻中心", NewsPage.class));
		
		return navs;
	}
	
	/********************************PRODUCT****************************************/
	
	/**
	 * 商品type字段分类
	 */
	public static Integer RECOMMEND_PRODUCT_TYPE=6985;//用户选中分类后的推荐商品
	public static Map<String,Integer> PRODUCT_TYPE_MAP=new HashMap<String,Integer>(){{
		this.put("普通商品-不属于任何栏目", 0);
		this.put("推荐商品", 1);
		this.put("销售排行", 2);
		this.put("限时抢购", 3);
		this.put("新品上架", 4);
		this.put("疯狂抢购",5);
		this.put("猜您喜欢",6);
		this.put("热卖商品",7);
		this.put("热评商品",8);
		
	}};
	
	/**快报资讯*/
	public static Integer PASSAGE_TYPE_KUAIBAO=5;
	
	/***************************passage***************************************/
	
	public static Integer PASSAGE_TYPE_NEWS=1;//新闻列表
	
	/********************************INFO_MEDIUM*************************************/
	
	public static String HELP_INFO_PANEL_CELL1_TITLE="新手指南";
	public static Integer HELP_INFO_PANEL_CELL1_TYPE=1;
	
	public static String HELP_INFO_PANEL_PAID_TITLE="如何付款";
	public static Integer HELP_INFO_PANEL_PAID_TYPE=2;
	
	public static String HELP_INFO_PANEL_SEND_TITLE="配送方式";
	public static Integer HELP_INFO_PANEL_SEND_TYPE=3;
	
	public static String HELP_INFO_PANEL_SERVICE_TITLE="售后服务";
	public static Integer HELP_INFO_PANEL_SERVICE_TYPE=4;
	
	/*********************************INFO_SORT********************************************/
	
	public static Integer INFO_SORT_TYPE_PHONE=5;//电话联系方式
	
	public static Integer INFO_SORT_TYPE_QQ=6;//QQ
	
	public static Integer INFO_SORT_TYPE_NEWS=1;//新闻类别
	
	
}
